home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1996 November
/
CHIP Kasım 1996.iso
/
ms
/
index
/
ppc
/
idxsveng.exe
/
RCDATA
/
CABINET
/
install.cmd
< prev
next >
Wrap
OS/2 REXX Batch file
|
1996-08-05
|
621b
|
34 lines
@echo off
set SRC=
for /d /r %tmp% %%i in (*.*) do if exist %%~fi\setupci.inf set SRC=%%~fi
if "%SRC%" == "" TryTemp
goto noargs
:TryTemp
for /d /r %temp% %%i in (*.*) do if exist %%~fi\setupci.inf set SRC=%%~fi
if "%SRC%" == "" TryCwd
goto noargs
:TryCwd
set SRC=%1%
if NOT exist %SRC%\setupci.inf goto Error
goto noargs
:Error
echo .
echo Tripoli setup error:
echo You must specify the directory where installing from
echo .
echo EXAMPLE:
echo %0 %SRC% (default)
echo .
pause
goto end
:noargs
%SystemRoot%\system32\setup.exe /f /i %SRC%\setupci.inf /s %SRC%
:end
set SRC=